Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Directional Lights


Q3DirectionalLight_GetData

You can use the Q3DirectionalLight_GetData function to get the data that defines a directional light.

TQ3Status Q3DirectionalLight_GetData (
TQ3LightObject light, 
TQ3DirectionalLightData *directionalLightData);
light
A directional light object.
directionalLightData
On exit, a pointer to a directional light data structure.
DESCRIPTION
The Q3DirectionalLight_GetData function returns, through the directionalLightData parameter, information about the directional light specified by the light parameter. See "Directional Light Data Structure" on page 8-12 for a description of a directional light data structure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996